package com.booksystem.campuslibrarymanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.booksystem.campuslibrarymanagementsystem.entity.FeedbacksTable;
import com.booksystem.campuslibrarymanagementsystem.entity.ViolationTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ViolationTableService extends IService<ViolationTable> {
    List<ViolationTable> querydislist(String status);
    int savav(ViolationTable vio);
    int deleteByAccountAndBookid(@Param("account") String account, @Param("bookid") int bookid);
    ViolationTable queryByvio(String account ,int bookid);
    /*boolean upDataVio(int bookid, String title, String author, String category);*/

    int updetaViolaionAlter(String violationType,int fineamount);
}
